package com.meida.module.bus.client.entity.srmapi.oa;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.meida.common.mybatis.base.entity.AbstractEntity;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.meida.common.mybatis.annotation.TableAlias;

/**
 * PMS-OA交互日志
 *
 * @author flyme
 * @date 2020-10-31
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("bus_oa_approval")
@TableAlias("boa")
@ApiModel(value="BusOaApproval对象", description="PMS-OA交互日志")
public class BusOaApproval extends AbstractEntity {

private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "oaApilLogId", type = IdType.AUTO)
    private Long oaApilLogId;

    @ApiModelProperty(value = "pms模块")
    private String pmsFlow;

    @ApiModelProperty(value = "pms模块主键")
    private Long pmsMainKey;

    @ApiModelProperty(value = "员工工号")
    private String userNum;

    @ApiModelProperty(value = "OA流程编码")
    private String flowNum;

    @ApiModelProperty(value = "审批状态")
    private Integer approvalStatus;

    @ApiModelProperty(value = "操作人")
    private String oprId;

    @ApiModelProperty(value = "操作状态")
    private String oprSta;

    @ApiModelProperty(value = "接收时间")
    private Date oprRecTime;

    @ApiModelProperty(value = "操作时间")
    private Date oprActTime;

    @ApiModelProperty(value = "操作耗时")
    private Date oprCosTime;

    @ApiModelProperty(value = "操作人所属部门")
    private String oprDept;

    @ApiModelProperty(value = "操作人角色")
    private String oprRole;

}
